package org.easy.byteasr.dto;

import com.alibaba.fastjson2.annotation.JSONField;
import lombok.Data;

@Data
public class ByteAudioInfoResponse {


    private Integer sequence;

    // JSON字段带有"_"，使用@JSONField注解
    @JSONField(name = "audio_info")
    private AudioInfo audioInfo;

    // JSON字段带有"_"，使用@JSONField注解
    @JSONField(name = "result")
    private Result result;


    @Data
    public static class AudioInfo {
        private Integer duration;
    }

    @Data
    public static class Result {
        private Additions additions;
        private String text;

        @Data
        public static class Additions {
            @JSONField(name = "log_id")
            private String logId;
        }

    }


}